package com.woniu.guoguo.service.impl;

import com.woniu.guoguo.model.MenuCommentsImg;
import com.woniu.guoguo.dao.MenuCommentsImgMapper;
import com.woniu.guoguo.service.IMenuCommentsImgService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Richie
 * @since 2020-11-04
 */
@Service
public class MenuCommentsImgServiceImpl extends ServiceImpl<MenuCommentsImgMapper, MenuCommentsImg> implements IMenuCommentsImgService {
    @Autowired
    private MenuCommentsImgMapper menuCommentsImgMapper;

    @Override
    public List<String> findCommentsImgByCommentId(Integer id) {
        return menuCommentsImgMapper.findCommentsImgByCommentId(id);
    }
}
